export default {
  "permission" : {
    "expression" : "/system/role/list"
  },
  "title" : "角色",
  "type" : "table",
  "config" : {
    "dataUrl" : "/system/role/list",
    "filter" : {
      "controls" : [ {
        "label" : "创建时间",
        "type" : "dateRange",
        "key" : "createdDate"
      }, {
        "label" : "ID",
        "type" : "text",
        "key" : "idIs"
      }, {
        "label" : "名称",
        "type" : "text",
        "key" : "nameIs"
      }, {
        "label" : "是否禁用",
        "type" : "select",
        "config" : {
          "options" : [ {
            "text" : "是",
            "value" : true
          }, {
            "text" : "否",
            "value" : false
          } ]
        },
        "key" : "lockedIs"
      } ]
    },
    "columns" : [ {
      "sorter" : true,
      "title" : "ID",
      "type" : "text",
      "key" : "id"
    }, {
      "title" : "创建时间",
      "type" : "datetime",
      "key" : "createdDate"
    }, {
      "title" : "最后修改时间",
      "type" : "datetime",
      "key" : "lastModifiedDate"
    }, {
      "title" : "版本",
      "type" : "text",
      "key" : "version"
    }, {
      "title" : "名称",
      "type" : "text",
      "key" : "name"
    }, {
      "title" : "描述",
      "type" : "text",
      "key" : "description"
    }, {
      "title" : "是否禁用",
      "type" : "enum",
      "config" : {
        "constants" : {
          "true" : {
            "color" : "green",
            "text" : "是"
          },
          "false" : {
            "color" : "red",
            "text" : "否"
          }
        }
      },
      "key" : "locked"
    } ],
    "rowActions" : [ ],
    "actions" : [ ]
  }
};